package com.xlx.openLink.entity.pojo;

import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class Device implements Serializable {
    private String pkGuid;

    private String devName;

    private String devIp;

    private String devStatus;

    private String devMac;

    private String devDescor;

    private String devSysName;

    private String devType;

    private String devOid;

    private String devWeitecommunity;

    private String devReadcommunity;

    private Integer devSnmpPort;

    private Integer devSnmpAgentPort;

    private Integer devSnmpVersion;
    private String devConId;
    private Date devCreateDate;

    private Date devUpdateDate;

    private String devSysUpTime;

    private static final long serialVersionUID = 1L;

    public String getPkGuid() {
        return pkGuid;
    }

    public void setPkGuid(String pkGuid) {
        this.pkGuid = pkGuid == null ? null : pkGuid.trim();
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName == null ? null : devName.trim();
    }

    public String getDevIp() {
        return devIp;
    }

    public void setDevIp(String devIp) {
        this.devIp = devIp == null ? null : devIp.trim();
    }

    public String getDevStatus() {
        return devStatus;
    }

    public void setDevStatus(String devStatus) {
        this.devStatus = devStatus == null ? null : devStatus.trim();
    }

    public String getDevMac() {
        return devMac;
    }

    public void setDevMac(String devMac) {
        this.devMac = devMac == null ? null : devMac.trim();
    }

    public String getDevDescor() {
        return devDescor;
    }

    public void setDevDescor(String devDescor) {
        this.devDescor = devDescor == null ? null : devDescor.trim();
    }

    public String getDevSysName() {
        return devSysName;
    }

    public void setDevSysName(String devSysName) {
        this.devSysName = devSysName == null ? null : devSysName.trim();
    }

    public String getDevType() {
        return devType;
    }

    public void setDevType(String devType) {
        this.devType = devType == null ? null : devType.trim();
    }

    public String getDevOid() {
        return devOid;
    }

    public void setDevOid(String devOid) {
        this.devOid = devOid == null ? null : devOid.trim();
    }

    public String getDevWeitecommunity() {
        return devWeitecommunity;
    }

    public void setDevWeitecommunity(String devWeitecommunity) {
        this.devWeitecommunity = devWeitecommunity == null ? null : devWeitecommunity.trim();
    }

    public String getDevReadcommunity() {
        return devReadcommunity;
    }

    public void setDevReadcommunity(String devReadcommunity) {
        this.devReadcommunity = devReadcommunity == null ? null : devReadcommunity.trim();
    }

    public Integer getDevSnmpPort() {
        return devSnmpPort;
    }

    public void setDevSnmpPort(Integer devSnmpPort) {
        this.devSnmpPort = devSnmpPort;
    }

    public Integer getDevSnmpAgentPort() {
        return devSnmpAgentPort;
    }

    public void setDevSnmpAgentPort(Integer devSnmpAgentPort) {
        this.devSnmpAgentPort = devSnmpAgentPort;
    }

    public Integer getDevSnmpVersion() {
        return devSnmpVersion;
    }

    public void setDevSnmpVersion(Integer devSnmpVersion) {
        this.devSnmpVersion = devSnmpVersion;
    }
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getDevCreateDate() {
        return devCreateDate;
    }

    public void setDevCreateDate(Date devCreateDate) {
        this.devCreateDate = devCreateDate;
    }
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getDevUpdateDate() {
        return devUpdateDate;
    }

    public void setDevUpdateDate(Date devUpdateDate) {
        this.devUpdateDate = devUpdateDate;
    }

    public String getDevSysUpTime() {
        return devSysUpTime;
    }

    public void setDevSysUpTime(String devSysUpTime) {
        this.devSysUpTime = devSysUpTime == null ? null : devSysUpTime.trim();
    }

    public String getDevConId() {
        return devConId;
    }

    public void setDevConId(String devConId) {
        this.devConId = devConId;
    }
}